package testMaven;

import java.sql.DriverManager;

import org.junit.Test;

import com.mysql.jdbc.Connection;


public class Demo1 {
	private String url = "jdbc:mysql://localhost:3306/test_schema";
	private String user = "root";
	private String pwd = "root";

	@Test
	public void run() throws Exception {
		Class.forName("com.mysql.jdbc.Driver");
		Connection con = (Connection) DriverManager.getConnection(url, user,
				pwd);
		System.out.println(con);
	}
}
